/*
 * 编写华氏温度转换设施温度表头
 */

#include <stdio.h>

int main() {
    float fahr, celsius;
    float lower, step, higher;

    lower = 0;
    step = 20;
    higher = 300;
    
    printf("%4s %6s\n", "Fahr", "Cels");
    fahr = lower;
    while (fahr <= higher) {
        celsius = (5.0 / 9.0) * (fahr - 32);
        printf("%3.0f %6.1f\n", fahr, celsius);
        fahr += step;
    }

    return 0;
}
